package com.net.yl.entity;

import java.io.Serializable;

/**
 * create by cjx on 2024/7/16
 * desc:
 */
public class SyncComponentEntity implements Serializable {
    long id;
    long categoryId;
    String name;
    int code;
    String params;
    int lifespan;
    boolean hasInventorySensing;
    boolean hasTemperatureSensing;
    boolean openTemperatureSensing;
    float temperatureMax;
    float temperatureMin;

    public long getId() {
        return id;
    }

    public long getCategoryId() {
        return categoryId;
    }

    public String getName() {
        return name;
    }

    public int getCode() {
        return code;
    }

    public String getParams() {
        return params;
    }

    public int getLifespan() {
        return lifespan;
    }

    public boolean isHasInventorySensing() {
        return hasInventorySensing;
    }

    public boolean isHasTemperatureSensing() {
        return hasTemperatureSensing;
    }

    public boolean isOpenTemperatureSensing() {
        return openTemperatureSensing;
    }

    public float getTemperatureMax() {
        return temperatureMax;
    }

    public float getTemperatureMin() {
        return temperatureMin;
    }
}
